<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>测试问题</title>
    <style>
      .first,
      .second {
        width: 200px;
        height: 200px;
        background-color: rgba(137, 43, 226, 0.507);
      }
      div.first {
        position: absolute;
        background-color: rgba(255, 255, 0, 0.315);
      }
    </style>
  </head>
  <body>
    <div class="first" onclick="console.log(11111111)"></div>
    <div class="second" onclick="console.log(222222222)"></div>
  </body>
</html>
